PrOpen
PrOpen Initialize the Printing Manager
#include <PrintTraps.h> Printing Manager
void PrOpen( );
PrOpen opens the printer driver and the printing resource file and
otherwise initializes the Printing Manager.
Returns: none; call PrError for result code.

Notes: Call PrOpen before issuing any other Printing Manager calls and call
PrClose when you are all finished printing. At one time, Apple
recommended that PrOpen be called at the beginning of the application, and
PrClose be called at the end, before returning to the Finder. As more
printer drivers become available, it is important for applications to
consider the presence of other applications and how opening and closing the
printer driver affected them. Apple currently recommends that applications
open and close the printer driver each time the application uses the Print
Manager.
Other managers should be initialized (via InitGraf, InitFonts,
InitWindows, InitMenus, TEInit, and InitDialogs) at some point
before calling PrOpen.
Before starting to print a document, initialize a TPrint record via
PrintDefault or PrValidate. Use PrStlDialog to process a "Page
Setup..." request and call PrJobDialog to process a "Print..." request.
To print the document, call PrOpenDoc once and call PrOpenPage at the
start of each page. Use Quickdraw commands such as DrawText and
DrawPicture to send output to the printer. Afterward, you may need to
print a spooled file via PrPicFile.